#include <iostream>
#include <cstdlib>
#include "MRProcessArgs.h"

using namespace std;

MRProcessArgs::MRProcessArgs(int argc, char **argv) {
	this->argc = argc;
	this->argv = argv;

	processArgs();
}

MRProcessArgs::~MRProcessArgs() {

}

int MRProcessArgs::processArgs() {
	if (argc < 2)
		printUsage(0);
}

int MRProcessArgs::printUsage(int typeOfHelp) {
	cout << argv[0] << " [OPTIONS]" << endl;

	if(typeOfHelp == 0)
		exit(EXIT_FAILURE);

	if(typeOfHelp == 1)
		exit(EXIT_SUCCESS);
}

string MRProcessArgs::getPublicKeyFileName() {
	return publicKeyFileName;
}

string MRProcessArgs::getPrivateKeyFileName() {
	return privateKeyFileName;
}
